package cn.zyq.ykb.controller.h5.config;

import cn.zyq.ykb.beans.config.ConfigNavigation;
import cn.zyq.ykb.service.config.ConfigNavigationService;
import cn.zyq.ykb.system.annotation.Log;
import cn.zyq.ykb.system.common.BaseController;
import cn.zyq.ykb.system.common.PageParam;
import cn.zyq.ykb.system.ry.enums.BusinessType;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * 配置-公共Controller
 *
 * @author SystemAuth
 * @date 2024-01-10
 */

@RestController(value = "H5ConfigNavigationController")
@RequestMapping("/api/configNavigation")
@Api(tags = "配置-公共接口")
public class ConfigNavigationController extends BaseController {

    @Autowired
    private ConfigNavigationService configNavigationService;

    /**
     * 查询配置-公共列表
     */
    @ApiOperation(value = "列表", response = ConfigNavigation.class)
    @PostMapping("/list")
    public Object list(@RequestBody PageParam pageParam) {
        return this.configNavigationService.selectConfigNavigationList(pageParam);
    }



}
